.class Lcom/example/m6shop/OrderListActivity$2$1;
.super Ljava/lang/Object;
.source "OrderListActivity.java"

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6shop/OrderListActivity$2;->handleMessage(Landroid/os/Message;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Landroid/widget/AdapterView$OnItemClickListener;"
    }
.end annotation


# instance fields
.field final synthetic this$1:Lcom/example/m6shop/OrderListActivity$2;


# direct methods
.method constructor <init>(Lcom/example/m6shop/OrderListActivity$2;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6shop/OrderListActivity$2$1;->this$1:Lcom/example/m6shop/OrderListActivity$2;

    .line 137
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 5
    .param p2, "arg1"    # Landroid/view/View;
    .param p3, "arg2"    # I
    .param p4, "arg3"    # J
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView",
            "<*>;",
            "Landroid/view/View;",
            "IJ)V"
        }
    .end annotation

    .prologue
    .line 140
    .local p1, "arg0":Landroid/widget/AdapterView;, "Landroid/widget/AdapterView<*>;"
    invoke-static {}, Lmyclass/Util;->isFastDoubleClick()Z

    move-result v1

    if-eqz v1, :cond_0

    .line 149
    :goto_0
    return-void

    .line 143
    :cond_0
    sget-object v2, Ljava/lang/System;->out:Ljava/io/PrintStream;

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v1, "\u6570\u636eID"

    invoke-direct {v3, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/example/m6shop/OrderListActivity$2$1;->this$1:Lcom/example/m6shop/OrderListActivity$2;

    # getter for: Lcom/example/m6shop/OrderListActivity$2;->this$0:Lcom/example/m6shop/OrderListActivity;
    invoke-static {v1}, Lcom/example/m6shop/OrderListActivity$2;->access$0(Lcom/example/m6shop/OrderListActivity$2;)Lcom/example/m6shop/OrderListActivity;

    move-result-object v1

    # getter for: Lcom/example/m6shop/OrderListActivity;->ls:Ljava/util/List;
    invoke-static {v1}, Lcom/example/m6shop/OrderListActivity;->access$1(Lcom/example/m6shop/OrderListActivity;)Ljava/util/List;

    move-result-object v1

    add-int/lit8 v4, p3, -0x1

    invoke-interface {v1, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lbean/BillBean;

    invoke-virtual {v1}, Lbean/BillBean;->getId()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v1}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

    .line 144
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    .line 145
    .local v0, "intent":Landroid/content/Intent;
    const-string v2, "id"

    iget-object v1, p0, Lcom/example/m6shop/OrderListActivity$2$1;->this$1:Lcom/example/m6shop/OrderListActivity$2;

    # getter for: Lcom/example/m6shop/OrderListActivity$2;->this$0:Lcom/example/m6shop/OrderListActivity;
    invoke-static {v1}, Lcom/example/m6shop/OrderListActivity$2;->access$0(Lcom/example/m6shop/OrderListActivity$2;)Lcom/example/m6shop/OrderListActivity;

    move-result-object v1

    # getter for: Lcom/example/m6shop/OrderListActivity;->ls:Ljava/util/List;
    invoke-static {v1}, Lcom/example/m6shop/OrderListActivity;->access$1(Lcom/example/m6shop/OrderListActivity;)Ljava/util/List;

    move-result-object v1

    add-int/lit8 v3, p3, -0x1

    invoke-interface {v1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lbean/BillBean;

    invoke-virtual {v1}, Lbean/BillBean;->getId()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 146
    const-string v2, "name"

    iget-object v1, p0, Lcom/example/m6shop/OrderListActivity$2$1;->this$1:Lcom/example/m6shop/OrderListActivity$2;

    # getter for: Lcom/example/m6shop/OrderListActivity$2;->this$0:Lcom/example/m6shop/OrderListActivity;
    invoke-static {v1}, Lcom/example/m6shop/OrderListActivity$2;->access$0(Lcom/example/m6shop/OrderListActivity$2;)Lcom/example/m6shop/OrderListActivity;

    move-result-object v1

    # getter for: Lcom/example/m6shop/OrderListActivity;->ls:Ljava/util/List;
    invoke-static {v1}, Lcom/example/m6shop/OrderListActivity;->access$1(Lcom/example/m6shop/OrderListActivity;)Ljava/util/List;

    move-result-object v1

    add-int/lit8 v3, p3, -0x1

    invoke-interface {v1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lbean/BillBean;

    invoke-virtual {v1}, Lbean/BillBean;->getDno()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 147
    iget-object v1, p0, Lcom/example/m6shop/OrderListActivity$2$1;->this$1:Lcom/example/m6shop/OrderListActivity$2;

    # getter for: Lcom/example/m6shop/OrderListActivity$2;->this$0:Lcom/example/m6shop/OrderListActivity;
    invoke-static {v1}, Lcom/example/m6shop/OrderListActivity$2;->access$0(Lcom/example/m6shop/OrderListActivity$2;)Lcom/example/m6shop/OrderListActivity;

    move-result-object v1

    const-class v2, Lcom/example/m6shop/OrderDetailActivity;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 148
    iget-object v1, p0, Lcom/example/m6shop/OrderListActivity$2$1;->this$1:Lcom/example/m6shop/OrderListActivity$2;

    # getter for: Lcom/example/m6shop/OrderListActivity$2;->this$0:Lcom/example/m6shop/OrderListActivity;
    invoke-static {v1}, Lcom/example/m6shop/OrderListActivity$2;->access$0(Lcom/example/m6shop/OrderListActivity$2;)Lcom/example/m6shop/OrderListActivity;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/example/m6shop/OrderListActivity;->startActivity(Landroid/content/Intent;)V

    goto :goto_0
.end method
